<include file="Public:header" />
<script type="text/javascript">
$(function(){
	layout.listCheckAll();
	layout.listTableColor();
	layout.listFormSelectType('articleListForm','operateType','selectTypeBtn');
	layout.delDataConfirm();	
});
</script>
<body class="mainBackground">
	<include file="Public:menu" />
	<div class="main" id="mainContainer">
    	<div class="content_box">
        	<div class="content_box_t">
            	<h3 class="fl">
                 查看账目明细（当前会员：{$data.username} 可用资金帐户：<span class="red">{$data.user_money}</span>元 消费积分帐户：<span class="red">{$data.pay_points}</span> ）
                </h3>
            </div>
            <div class="content_box_c">
                <div class="clearfix pb10">
                    <a href="{:U('Users/accountEdit/',array('id'=>$data['id']))}" title="调节会员账号" class="public_button fr">调节会员账号</a>
                </div>          
                <notempty name="datas">
                <form action="__URL__/del" method="POST" id="articleListForm">
            	<table class="public_table">
					<thead>
						<tr>
							<th>帐户变动时间</th>
							<th>帐户变动原因</th>
                            <th>可用资金帐户</th>
                            <th>消费积分帐户</th>
						</tr>	
					</thead> 
					<tbody>
                    <volist name="datas" id="data">
						<tr>
							<td>{$data.change_time|date="Y-m-d H:i:s",###}</td>
                            <td>{$data.change_desc}</td>
							<td>
								<gt name="data.user_money" value="0">
									<span class="blue">{$data.user_money}</span>
								<else/>
									<span class="red">{$data.user_money}</span>
								</gt>
							</td>
							<td>
								<gt name="data.pay_points" value="0">
									<span class="blue">{$data.pay_points}</span>
								<else/>
									<span class="red">{$data.pay_points}</span>
								</gt>								
							</td>
						</tr>
					</volist>	                                              
					</tbody>
                    
					<tfoot>
						<tr>
							<td colspan="4">
								<div class="pagination fr">
                                	{$page}
								</div>
								<div class="clear"></div>
							</td>
						</tr>
					</tfoot>                    
				</table>
                </form>
                </notempty>
            </div>
        </div>            
        <!--发布结束-->
    </div>
</body>
</html>
